package com.shanghai.market.plshnaghai.model.measurement;

import com.shanghai.market.plshnaghai.abstracts.AbstractModelPost;
import com.shanghai.market.plshnaghai.constants.UrlConstants;
import com.shanghai.market.plshnaghai.interfaces.IObjectView;
import com.shanghai.market.plshnaghai.net.HttpManager;

/**
 * Created by Administrator on 2017/8/29.
 */

public class QuizzesModelPost extends AbstractModelPost {

    private IObjectView<Object> view;


    public QuizzesModelPost(IObjectView<Object> view) {
        super();
        this.view = view;
    }


    @Override
    public void getData(String... args) {
        HttpManager manager = HttpManager.getInstance();

        manager.post(UrlConstants.ADD_QUESTION, getParams(), lisenter(), errorListener());
    }

    @Override
    protected void error(String message) {

    }

    @Override
    protected void success(Object result) {

    }
}
